第 8 步:是时候添加地球了。

  • 并拖出Earth
  • 点击运行以查看您的更改和提交接下来当你完成。

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_left(45) # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_right(45)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)